What is this?
This document describes how to send and receive stock checks via your web browser.
What is Web Browser Stock Check?
Web Browser Stock Checks are performed using Ingrams Request File Format. Please contact [email protected] to obtain these file specifications.
How do I send and receive Stock Checks?
With this method, requests are simply sent through a URL directed to port 5501. Launch any web browser (i.e. Internet Explorer or Mozilla) and enter the following information in the address bar:
Host Address: http://anchordistributors.com:5501/?<request string>?
The response will be formatted into an HTTP response to neatly display the information in the web browser window.
How do I format a request string?
The request string field has the following format:
Request Header | ||||
Field Name | Start | Stop | Length | Contents |
File Type | 1 | 1 | 1 | "1" = Request File Identifier |
Bill To | 2 | 8 | 7 | SAN or Bill-To Account Number |
Ship To | 9 | 15 | 7 | SAN or Ship-To Account Number |
Password | 16 | 23 | 8 | Password |
Request Data Format | ||||
Field Name | Start | Stop | Length | Contents |
Request Type | 24 | 27 | 4 | ISTK |
Version Level | 28 | 28 | 1 | 1 |
Data Length | 29 | 33 | 5 | Total Length of Request Data. It should be padded with zeros. For example, "00013" for a single item, or 00026 for two items, and so on. |
Request Data | 34 | 46 | 13 | ISBN, UPC, or EAN. Data should be left justified & padded with spaces. Up to 50 consecutive (padded) item codes can be sent in the same request. |
Example 1: the following example shows an implementation of an ISTK request type for an ISBN of 0764533126.
String:
112345677654321PASSWORDISTK1000130764533126
URL:
http://anchordistributors.com:5501?112345677654321PASSWORDISTK1000130764533126
?
Example 2:
this example has five ISBNs in one transmission.
String:
112345677654321PASSWORDISTK1000651111111111 2222222222 3333333333
4444444444 5555555555
URL:
http://anchordistributors.com:5501?112345677654321PASSWORDISTK1000651111111111
2222222222 3333333333 4444444444
5555555555 ?
What codes are valid for lookups?
We accept ISBN, EAN13 and Speedy codes
for lookup strings for a web browser stock check.
What should I use for my account
number?
We accept four account numbers to
identify your store.
1)
Your Ship-to SAN number
2)
Your Bill-to SAN number
3)
Your Ship-to Account Number
4)
Your Bill-to Account Number